#!/usr/bin/env python
#coding=utf-8
import SimpleHTTPServer
import SocketServer

port = 8000

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler

httpd = SocketServer.TCPServer(("", port), Handler)

print "serving at port ", port
httpd.serve_forever()


